#ifndef __EFFECT_H__
#define __EFFECT_H__
/////////////////
//include
/////////////////
#include"Animation.h"
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
class Effect 
{
public:
	Effect(	Vector3D pos,float rot = 0,Vector2D size = Vector2D(1,1));
	~Effect();
	void Draw(Camera* camera, SpriteDrawer* sd);
	bool IsEnd()const{return effect_anim->IsEnd();}
	void SetAnimation(Animation* anim){this->effect_anim = anim;};
private:
	Vector3D pos;
	float rot;
	Vector2D size;
	Animation* effect_anim;
	int count;
};
#endif __EFFECT_H__
